<div class="modal-dialog ">
	<div class="modal-content">
		<div class="modal-header">
			<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
			<h4 class="modal-title">订单详情</h4>
		</div>
		<div class="modal-body">
			<ul class="nav nav-tabs mbl">
				<li class="active"><a data-toggle="tab" href="#detail">详情</a></li>
			</ul>
			<div class="tab-content">
				<div id="detail" class="tab-pane fade active in">
					<table class="table table-striped order-table">
						<tbody>
							<tr>
								<th width="25%">订单号</th>
								<td width="75%"><?php echo $order['order_sn']?></td> </tr>
							<tr>
							<th width="25%">订单状态</th>
							<td width="75%">
								<?php if($order['order_status']==0){
									echo "未支付";
								}else if($order['order_status']==1){
									echo "已付款";
								}else if($order['order_status']==2){
									echo "订单关闭";
								}else if($order['order_status']==3){
									echo "成功";
								}?>
							</td>
							</tr>
							<tr>
								<th width="25%">课程名称</th>
								<td width="75%"><?php echo $order['course_name']?></td>
							</tr>
							<tr>
								<th width="25%">购买者</th>
								<td width="75%">
									<strong><a href="javascript:;"><?php echo $order['user_name']?></a>
									</strong>
								</td>
							</tr>
							<tr>
								<th width="25%">手机号</th>
								<td width="75%"><?php echo $order['user_phone']?></td>
							</tr>
							<tr>
								<th width="25%">邮箱</th>
								<td width="75%">
									<?php echo $order['user_email']?>
								</td>
							</tr>
							<tr>
								<th width="25%">订单价格</th>
								<td width="75%">
									<span class="money-text"><?php echo $order['price_amount']?></span>
									元
								</td>
							</tr>
							<tr>
								<th width="25%">支付方式</th>
								<td width="75%">
									<?php if($order['pay_type']==0){
										echo "未支付";
									}else if($order['pay_type']==1){
										echo "支付宝";
									}else if($order['pay_type']==2){
										echo "微信支付";
									}else if($order['pay_type']==3){
										echo "快捷支付";
									}?>
								</td>
							</tr>
							<tr>
								<th width="25%">创建时间</th>
								<td width="75%">
									<?php echo date("Y-m-d H:i:s",$order['order_addtime'])?>
								</td>
							</tr>
							<tr>
								<th width="25%">付款时间</th>
								<td width="75%">
									<?php echo date("Y-m-d H:i:s",$order['pay_time'])?>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
			<div class="modal-footer"><div>
				<button data-dismiss="modal" class="btn btn-primary" type="button">关闭</button>
			</div>
		</div>
	</div>
</div>